﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using PeachLite.Admin;

namespace PeachLite.Admin
{
    public partial class Message : PageBase
    {
        protected override void Do()
        {
            string m = Request.QueryString["m"] == null ? "" : Request.QueryString["m"].ToLower().Trim();
            string[] ms = m.Split('-');

            switch (ms[0])
            {
                case "o":
                    icon.Text = "su";
                    break;
                case "w":
                    icon.Text = "wn";
                    break;
                case "e":
                    icon.Text = "er";
                    break;
                default:
                    break;
            }
            message.Text = ms[1] ;
        }
    }
}